package com.woniu.micropropertyserver.mapper;

import com.woniu.microcommonsserver.entity.PassInfoEntity;
import com.woniu.micropropertyserver.bean.DeployPass;
import com.woniu.micropropertyserver.util.PageRest;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @author ：zhengbin
 * @date ：Created in 2021/2/1 0001
 * @description：
 * @modified By：
 * @version: $
 */
@Mapper
public interface PassInfoMapper {

    List<PassInfoEntity> findByParam(@Param("r") PageRest pageRest,@Param("p") DeployPass deployPass);
    PassInfoEntity findById(Long id);
    List<PassInfoEntity> findAll();
}
